-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: experimental type-level RegExp match #288
feat: experimental type-level RegExp match #288
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @danielroe on Vercel. @danielroe first needs to authorize it. |
PR Summary
|
ebfcb54
to
8307b9a
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 7 8 +1
Lines 533 671 +138
Branches 60 65 +5
==========================================
+ Hits 533 671 +138
☔ View full report in Codecov by Sentry. |
260cdca
to
5a5e756
Compare
Hi @danielroe, I've rebase and update the Also update two small typo in docs and JSDoc. please review and check if it needs more updates or fix when you have some free time 😊 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sorry for the long time to merge! This is fantastic and can't wait to start using it. |
Update
Add type-level-regexp as dependency, and create a new subpath export
type-level-regexp
for end-users to try out this experimental features by importingmagic-regexp
helpers frommagic-regexp/type-level-regexp
.this experimental features utilize generic types import from type-level-regexp to enhance the current
MagicRegExp
regexp object and return fully typed matched result when passing it to literal string'smatch
,matchAll
andreplace
functions.for detail example please see
test/type-level-regexp.test.ts
Usage
original
semver
exampleRelated issues
#233
#235
Tasks